package controller;

import javax.swing.JLabel;

/**
 * Status bar controller (modified for use)
 * @author Simon
 * @source http://www.java-tips.org/java-se-tips/javax.swing/creating-a-status-bar.html
 */
public class StatusBarController extends JLabel 
{
	private static final long serialVersionUID = -2014887725860820498L;

	public String message;
	
	/** Creates a new instance of StatusBar */
    public StatusBarController() 
    {
    	super();
    	setMessage("");
    }
    
    public String getMessage()
    {
    	return message;
    }
    
    public void setMessage(String message) 
    {
    	this.message = message;
        setText(" "+message);
    }
}